package com.truing.flycodebill.workbench.service.impl;

import com.truing.flycodebill.workbench.domain.BillSort;
import com.truing.flycodebill.workbench.mapper.BillSortMapper;
import com.truing.flycodebill.workbench.service.BillSortService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("billSortService")
public class BillSortServiceImpl implements BillSortService {

    @Resource
    private BillSortMapper billSortMapper;

    @Override
    public BillSort queryBillSortByValue(String value) {
        return billSortMapper.selectBillSortByValue(value);
    }

    @Override
    public List<BillSort> queryBillByTypeId(String typeId) {
        return billSortMapper.selectBillSortByTypeId(typeId);
    }
}
